<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8">
    <title>页面布局一</title>
    <!--    先解释jq @{}为绝对路径-->
    <script th:src="@{/webjars/jquery/3.3.1/jquery.min.js}"></script>
    <!--           解释js-->
    <script th:src="@{/webjars/bootstrap/4.3.1/js/bootstrap.min.js}"></script>
    <!--    解释css-->
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.min.css}"/>
</head>
<body>
    <header class="header">
        <div>
            采用th:place方式进行布局
            <a th:href="@{/layout/doSkip}">跳转</a>
        </div>
    </header>
    <div class="container" th:include="::content">页面正文内容</div>
    <footer>
        <div>
            <p style="float: left">© Loong 2017</p>
            <p style="float: right">
                Powered by <a href="http://my.oschina.net/alun" target="_blank">LeeZhongLoong</a>
            </p>
        </div>
    </footer>
</body>
</html>